* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #000;
}

.love {
    position: relative;
    width: 200px;
    height: 200px;
    background-color: crimson;
    transform: rotate(45deg);
    animation: love 1s infinite;
}

.love::after, .love::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: crimson;
    animation: love 1s infinite;
}

.love::after {
    top: 0;
    left: -100px;
}

.love::before {
    top: -100px;
    left: 0;
}

/* 定义爱心跳动动画 */
@keyframes love {
    0% {
        width: 200px;
        height: 200px;
    }
    20% {
        width: 230px;
        height: 230px;
        background-color: #ef3953;
    }
    100% {
        width: 200px;
        height: 200px;
    }
}
